package workbench.service;

import workbench.domain.Activity;
import workbench.domain.Clue;
import workbench.domain.Tran;
import workbench.exception.ConvertException;
import workbench.exception.DeleteException;
import workbench.exception.InsertClueException;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ClueService {
    void addClue(Clue clue) throws InsertClueException;
    Clue getClueById(String id) throws Exception;
    List<Activity> getActivityById(String id);
    void unbind(String aId,String cId) throws DeleteException;
    List<Activity> getNotBindActivityListByName(String aname,String clueId);
    void bind(String[] aIds,String cId) throws Exception;
    List<Activity> getActivityListByName(String aname);
    void convert(boolean flag, String clueId, Tran tran,String createBy) throws ConvertException;
}
